// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:15


// Source File Name:   pb.java

package com.zelix;


//            qh, hm, si

public class pb extends Exception
        implements qh {

    protected boolean a;
    public hm b;
    public int c[][];
    public String d[];
    int e;
    protected String f;
    private static String z[];

    public pb() {
        f = System.getProperty(z[0], "\n");
        a = false;
    }

    public pb(hm hm1, int ai[][], String as[], int i) {
        super("");
        f = System.getProperty(z[0], "\n");
        a = true;
        b = hm1;
        c = ai;
        d = as;
        e = i;
    }

    protected String a(String s) {
        StringBuffer stringbuffer;
        int i;
        int j;
        j = si.g;
        stringbuffer = new StringBuffer();
        for (i = 0; i < s.length(); i++) {
            switch (s.charAt(i)) {
                case 0: // '\0'
                    continue;

                case 8: // '\b'
                    stringbuffer.append(z[13]);
                    if (j == 0)
                        continue;
                    // fall through

                case 9: // '\t'
                    stringbuffer.append(z[20]);
                    if (j == 0)
                        continue;
                    // fall through

                case 10: // '\n'
                    stringbuffer.append(z[14]);
                    if (j == 0)
                        continue;
                    // fall through

                case 12: // '\f'
                    stringbuffer.append(z[15]);
                    if (j == 0)
                        continue;
                    // fall through

                case 13: // '\r'
                    stringbuffer.append(z[12]);
                    if (j == 0)
                        continue;
                    // fall through

                case 34: // '"'
                    stringbuffer.append(z[19]);
                    if (j == 0)
                        continue;
                    // fall through

                case 39: // '\''
                    stringbuffer.append(z[17]);
                    if (j == 0)
                        continue;
                    // fall through

                case 92: // '\\'
                    stringbuffer.append(z[18]);
                    if (j == 0)
                        continue;
                    // fall through

                default:
                    char c1;
                    if ((c1 = s.charAt(i)) < ' ' || c1 > '~') {
                        String s1 = z[11] + Integer.toString(c1, 16);
                        stringbuffer.append(z[16] + s1.substring(s1.length() - 4, s1.length()));
                        if (j == 0)
                            continue;
                    }
                    stringbuffer.append(c1);
                    break;
            }
        }
        return stringbuffer.toString();
    }

    public String getMessage() {
        String s;
        int i;
        boolean flag;
        int j;
        int i1;
        i1 = si.g;
        if (!a)
            return super.getMessage();
        s = "";
        i = 0;
        flag = e == 56 || e == 101 || e == 104 || e == 107 || e == 79 || e == 72 || e == 76;
        for (j = 0; j < c.length; j++) {
            if (flag) {
                switch (c[j][0]) {
                    case 34:
                    case 36:
                    case 39:
                    case 44:
                    case 45:
                    case 46:
                    case 47:
                    case 48:
                    case 50:
                    case 51:
                    case 52:
                    case 55:
                    case 57:
                    case 58:
                    case 59:
                    case 60:
                    case 63:
                    case 64:
                    case 65:
                    case 66:
                    case 69:
                    case 70:
                    case 71:
                    case 73:
                        int k;
                        if (i < c[j].length)
                            i = c[j].length;
                        for (k = 0; k < c[j].length; k++) {
                            s = s + d[c[j][k]] + " ";
                        }
                        if (c[j][c[j].length - 1] != 0)
                            s = s + z[10];
                        s = s + f + z[7];
                        break;
                }
            } else {
                int k;
                if (i < c[j].length)
                    i = c[j].length;
                for (k = 0; k < c[j].length; k++) {
                    s = s + d[c[j][k]] + " ";
                }
                if (c[j][c[j].length - 1] != 0)
                    s = s + z[10];
                s = s + f + z[7];
            }
        }

        String s1;
        hm hm1;
        String s2;
        String s3;
        int l;
        s1 = b.h;
        hm1 = b.i;
        s2 = b.a();
        if (s2.length() > 0)
            s2 = z[1] + s2;
        s3 = z[9];
        for (l = 0; l < i; l++) {
            if (l != 0)
                s3 = s3 + " ";
            if (hm1.c == 0) {
                s3 = s3 + d[0];
            } else {
                s3 = s3 + a(hm1.h);
                hm1 = hm1.i;
            }
        }
        s3 = s3 + z[6] + f + (s1 == null || s1.length() <= 0 ? "" : z[5] + s1 + "\"" + f) + z[2] + b.i.d + z[3] + b.i.e + "." + f;
        if (c.length == 1) {
            s3 = s3 + z[8] + f + z[7];
        } else {
            s3 = s3 + z[4] + f + z[7];
        }
        s3 = s3 + s;
        if (s2 != null)
            s3 = s3 + f + s2;
        return s3;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x56;
                    break;
                case 1:
                    key = 5;
                    break;
                case 2:
                    key = 28;
                    break;
                case 3:
                    key = 41;
                    break;
                default:
                    key = 119;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        String as[];
        as = new String[21];
        as[0] = ":lrLY%`lH\0057qs[";
        as[1] = "!muE\022v";
        as[2] = "_dh\t\033?ky\t";
        as[3] = "z%\177F\033#hr\t";
        as[4] = "\001do\t\022.uyJ\003?k{\t\0308`<F\021l";
        as[5] = "_dz]\022$%>";
        as[6] = "t%";
        as[7] = "v%<\t";
        as[8] = "\001do\t\022.uyJ\003?k{\023";
        as[9] = "\f`p@\017vNpH\004%H}Z\0033w<L\0315jiG\0033wyMWt";
        as[10] = "x+2";
        as[11] = "f5,\031";
        as[12] = "\nw";
        as[13] = "\ng";
        as[14] = "\nk";
        as[15] = "\nc";
        as[16] = "\np";
        as[17] = "\n\"";
        as[18] = "\nY";
        as[19] = "\n'";
        as[20] = "\nq";
        for (int i = 0; i < as.length; i++) {
            as[i] = z(as[i].toCharArray());
        }
        z = as;

    }
}